package io.renren.modules.health.service;

import io.renren.common.service.CrudService;
import io.renren.modules.health.dto.FoodPlanDTO;
import io.renren.modules.health.entity.FoodPlanEntity;

import java.util.List;

/**
 * 饮食方案
 *
 * @author Mark 
 * @since 1.0.0 2024-03-24
 */
public interface FoodPlanService extends CrudService<FoodPlanEntity, FoodPlanDTO> {



    /**
     * 制定饮食计划
     */
    List<FoodPlanDTO> genCustomerFoodPlan(Long cusId,boolean deleteAfterPlan);

    void insertFoodPlanBatch(List<FoodPlanDTO> planDTOS);

    List<FoodPlanDTO> queryFoodPlanWithDetail(Long cusId);
}